package com.xueshishasha.oa.service;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.xueshishasha.oa.model.Schedule;

public interface ScheduleService {

	public Schedule getInfo(String id);

	public void updateInfo(Schedule schedule);

	public Serializable save(Schedule schedule);

	public void delete(Schedule schedule);

	public List<Schedule> getAll();

	public Schedule getModelById(Serializable id);

	public List<Schedule> getModels(String hql, Object[] parameters);

	public void saveOrUpdate(Schedule schedule);

	public void saveOrUpdateAll(Collection<Schedule> collection);

	public void update(Schedule schedule);

	public List<Schedule> getByCriteria(DetachedCriteria dc);

}
